﻿@model shenkong.Models.Student

@{
    ViewData["Title"] = "Delete";
}

<h1>删除</h1>

<h3>你确定要删除该信息吗？</h3>
<div>
    <h4>学生</h4>
    <hr />
    <dl class="row">
        <dt class = "col-sm-2">
            学生姓名
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.StudentName)
        </dd>
        <dt class = "col-sm-2">
            性别
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Sex)
        </dd>
        <dt class = "col-sm-2">
            班级
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Department)
        </dd>
        <dt class = "col-sm-2">
            专业
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Speciality)
        </dd>
        <dt class = "col-sm-2">
            入学日期
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Startday)
        </dd>
        <dt class = "col-sm-2">
            电话
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Telephone)
        </dd>
        <dt class = "col-sm-2">
            宿舍号
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.DormId)
        </dd>
        <dt class = "col-sm-2">
            相片
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.Photo)
        </dd>
        <dt class = "col-sm-2">
            床位号
        </dt>
        <dd class = "col-sm-10">
            @Html.DisplayFor(model => model.BedId)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="hidden" asp-for="StudentId" />
        <input type="submit" value="删除" class="btn btn-danger" /> |
        <a asp-action="Index">返回</a>
    </form>
</div>
